﻿using System.Collections.ObjectModel;

namespace Yunli.Entities
{
    public class BusinessEntityCollection<T> : KeyedCollection<string, T> where T : BusinessEntity
    {
        protected override string GetKeyForItem(T p_item)
        {
            return p_item.ID;
        }
    }
}